package cn.hr.test_beans;

public class User {
	private String name;
	private String password;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public static String sayHello(String name){
		if(name!=null){
			return "Hello,"+name;
		}
		System.out.println("invoking method sayHello()");
		return "Hello,EveryBody !";
	}
}
